#ifndef _ENTITY
#define _ENTITY


#include "Include.h"
#include "Rectangle.h"

class Entity {
protected:
    Sprite sprite;
    core::Rectangle coord; // coordinates & dimensions
public:
    // Init/Deinit
    Entity();
    Entity(Image& image);
    ~Entity();
    void Initialize();

    // Object functionality
    void UpdateSprite();

    // Get/set
    void SetImage(Image& image);
    Sprite &GetSprite();

    core::Rectangle& GetRect() {
        return coord;
    }
};

#endif

